package vashion.azeroth.core.manager.personal.tran;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import vashion.azeroth.core.dao.BaseDao;
import vashion.azeroth.core.manager.impl.BaseManagerImpl;
import vashion.azeroth.core.personal.tran.dao.PersonalVAccountDao;
import vashion.azeroth.core.personal.tran.pojo.PersonalVAccount;

@Service
public class PersonalVAccountManager extends BaseManagerImpl<PersonalVAccount> {

	@Autowired
	private PersonalVAccountDao vaccountDao;
	
	@Override
	public BaseDao<PersonalVAccount> getDao() {
		return vaccountDao;
	}
	
	public PersonalVAccount getByMemberId(Long memberId) {
		return vaccountDao.getByMemberId(memberId);
	}

}
